import Vue from 'vue'

let server = process.env.VUE_APP_RESTAURANTPCSERVICE;
let searchbypointdetailPageUrl = '/pointdetail/searchbypointdetail';

let searchByConstantUrl = '/constant/searchByConstant';

export default{
	searchbypointdetailPageService: function(paramsObj,params,callBack){
		Vue.axios.post(`${server}${searchbypointdetailPageUrl}`, paramsObj,{
			params: params
		}).then(res => {
			callBack(res.data);
		})
	},
	
	searchByConstantService: function(paramsObj,callBack){
		Vue.axios.post(`${server}${searchByConstantUrl}`, paramsObj).then(res => {
			callBack(res.data);
		})
	},
}